package com.wudl.govern.vo;

import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 监控日志详情
 *
 * @author wudl
 */
@Data
@ApiModel
public class MetaLogDetailVO {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "监控日志id")
    private Integer metaLogId;

    @ApiModelProperty(value = "表id")
    private Integer tableId;

    @ApiModelProperty(value = "变更对象")
    private String changeObj;

    @ApiModelProperty(value = "事件 1:新增列 2：删除列  3:函数变更 4：存储过程变更 5:视图变更 6:新增外键 7:删除外键 8:新增索引 9:删除索引 10:新增触发器 11::删除触发器 12:修改表注释")
    private String event;

    @ApiModelProperty(value = "原值")
    private String originalVal;

    @ApiModelProperty(value = "新值")
    private String newVal;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @ApiModelProperty(value = "数据状态（1：有效，2：失效）")
    private Integer dataState;

    @ApiModelProperty(value = "变更监控id ")
    private Integer taskMonitorId;

}